<?php
//yii gii/model --tableName=company --modelClass=Company --ns=common\models
use yii\db\Migration;

class m160118_030605_add_logo_to_company extends Migration
{
    public function up()
    {
        $this->addColumn('company','logo',$this->string(200));
    }

    public function down()
    {
        $this->dropColumn('company','logo');
    }

    /*
    // Use safeUp/safeDown to run migration code within a transaction
    public function safeUp()
    {
    }

    public function safeDown()
    {
    }
    */
}
